Go home


Mobian setup on PinePhone Pro

Posted on 2024-02-11

Today I am attempting to install Mobian for my PinePhone Pro because last time I did a system update on its default Manjaro OS it stopped booting... Ope.

Starting resources:


Notes:


Steps I took:

  1. INSTALLING TOW-BOOT ON MY PINEPHONE:
    1. Downloaded Tow-Boot " pine64-pinephonePro-2022.07-006.tar.xz " from https://github.com/Tow-Boot/Tow-Boot/releases (under "Show all 22 assets")
    2. Extracted the " pine64-pinephonePro-2022.07-006.tar.xz " file.
    3. Inserted my MicroSD card.
    4. Used `fdisk -l` to find the SD Card: Disk /dev/mmcblk0 (or sometimes mmcblk0p1, not sure why it changed.)
    5. Tried command `# dd if=spi.installer.img of=/dev/XXX bs=1M oflag=direct,sync status=progress` from Tow-Boot Getting Started instructions:
          $ sudo dd if=spi.installer.img of=/dev/mmcblk0p1 bs=1M oflag=direct,sync status=progress
          dd: error writing '/dev/mmcblk0p1': Input/output error
          1+0 records in
          0+0 records out
          0 bytes copied, 0.0495216 s, 0.0 kB/s
          
      Leads?
    6. Ejected the SD Card, inserted into the PinePhone Pro. (https://www.youtube.com/watch?v=Gyxbe8Zbx14)
    7. Booting Tow-Boot: Installing to SPI (recommended) - It says to "hold the RE button before powering on". The RE (reset) button is under the cover and requires a paperclip to hold down.
    8. I held the RE button down with one hand and held the power button down with the other until it vibrated and the LED turned yellow, then the Tow Boot menu came up.
    9. Chose the menu buttons to install Tow-boot. Turned off the Pinephone Pro and removed the SD Card.

  2. (FAIL) INSTALLING MOBIAN ON SD CARD:
    1. Downloaded "mobian-pinephonepro-phosh-12.0.img.gz" from https://images.mobian.org/pinephonepro/
    2. Put SD Card back in my computer.
    3. Formatted SD Card (with ext4)
    4. Extracted the "mobian-pinephonepro-phosh-12.0.img.gz" file on my computer.
    5. Used the `sudo dd bs=64k if=mobian-pinephonepro-YYYYMMDD.img of=/dev/mmcblkX status=progress` command from https://wiki.debian.org/InstallingDebianOn/PINE64/PinePhonePro#Installation:
      sudo dd bs=64k if=mobian-pinephonepro-phosh-20230606.img of=/dev/mmcblk0p1 status=progress
      6000000000 bytes (6.0 GB, 5.6 GiB) copied, 303 s, 19.8 MB/s
      91552+1 records in
      91552+1 records out
      6000000000 bytes (6.0 GB, 5.6 GiB) copied, 359.979 s, 16.7 MB/s
      
    6. Took out SD Card, inserted into the Pinephone Pro.
    7. I kept running into "rcmfmac: brcmf_set_channel: set chanspec 0xd02e fail, reason -52". Trying to diagnose...

  3. (FAIL) INSTALLING JUMPDRIVE ON SD CARD:
    1. Referencing this video: https://www.youtube.com/watch?v=p3xG8F4ymic
    2. Downloaded "pine64-pinephone.img.xz" here: https://github.com/dreemurrs-embedded/Jumpdrive/releases and extracted it.
    3. Used `dd` command (from https://github.com/dreemurrs-embedded/Jumpdrive?tab=readme-ov-file):
      sudo dd bs=64k if=pine64-pinephone.img of=/dev/mmcblk0 status=progress
      [sudo] password for rwss: 
      656+0 records in
      656+0 records out
      42991616 bytes (43 MB, 41 MiB) copied, 6.13176 s, 7.0 MB/s
      
    4. Plugged SD Card into phone. Plugged phone into PC. Still getting "fail, reason -52", like it's not even booting off the SD Card. ACCORDING TO https://www.reddit.com/r/PinePhoneOfficial/comments/soyy8c/pinephone_pro_will_not_boot_from_sd/, the PINE PHONE PRO doesn't default to SD card boot AS PRIMARY!!! It boots to U-Boot as primary!!

  4. (SUCCESS!) FLASHING MOBIAN TO eMMC
    1. According to https://wiki.pine64.org/wiki/PinePhone_Pro#Boot_order, since I have tow-boot installed, pressing POWER, then holding VOLUME UP, then waiting for two vibrations and the LED to turn blue put it in "USB Mass Storage Mode".
    2. "BOOT_MNJRO" and "ROOT_MNJRO" showed up on my computer under sdb.
    3. Used command `sudo dd if=IMAGE.img of=/dev/DEVICE bs=1M status=progress conv=fsync`:
      sudo dd if=mobian-pinephonepro-phosh-20230606.img of=/dev/sdb bs=1M status=progress conv=fsync
      [sudo] password for rwss: 
      Sorry, try again.
      [sudo] password for rwss: 
      5997854720 bytes (6.0 GB, 5.6 GiB) copied, 520 s, 11.5 MB/s
      5722+1 records in
      5722+1 records out
      6000000000 bytes (6.0 GB, 5.6 GiB) copied, 613.89 s, 9.8 MB/s
      
    4. Unplugged the Pinephone Pro, held POWER to turn off, then POWER to turn on.
    5. It works!

Post list


Go home